package com.yykj.drup.server.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Author zeng
 * @Date 2022/3/23
 */
@ApiModel("自定义订单查询实体类")
@Data
public class OrderInfoParam extends BasePageParam{

    @ApiModelProperty("订单编号")
    private String orderNum;

    @ApiModelProperty("姓名")
    private String orderUserName;

    @ApiModelProperty("地址")
    private String orderUserAddress;

    @ApiModelProperty("电话")
    private String orderUserPhone;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("下单时间")
    private LocalDate startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("结束时间")
    private LocalDate endDate;

    @ApiModelProperty("订单支付状态 0：待支付  1：待收货  2：已完成  4:已取消")
    private Integer orderStatus;


}
